import React, { Component } from 'react';
import {Link} from "react-router-dom"
class Inde extends Component {
    render() {
        return (
            <div>
                home
                <Link to='/detail?id=123'>跳转到detail页面</Link>
            </div>
        );
    }
}

export default Inde;
